#include "complex.h"

int main()
{
    Complex c1, c2;
    std::cout << "please input two double !" << std::endl;
    std::cin >> c1;
    std::cout << "c1 = " << c1;
    std::cout << std::endl;

    std::cout << "please input two double !" << std::endl;
    std::cin >> c2;
    std::cout << "c2 = " << c2;
    std::cout << std::endl;
    Complex c7(1.0, 5.0);
    Complex c8(c7);
    std::cout << "c8 = " << c8;
    std::cout << std::endl;

    Complex c3 = c1 + c2;
    std::cout << "c3 = " << c3;
    std::cout << std::endl;

    Complex c4 = c1 - c2;
    std::cout << "c4 = " << c4;
    std::cout << std::endl;

    double c5 = c1 * c2;
    std::cout << "c5 = " << c5 << std::endl;

    std::cout << "c1 == c2 ? " << (c1 == c2) << std::endl;
    std::cout << "c1 != c2 ? " << (c1 != c2) << std::endl;

}